package cn.wen.java.soa.dubbo;

import cn.wen.bases.framework.spring.TestSpring;
import cn.wen.javax.jws.DemoService;

public class Consumer {

    public static void main(String[] args) {
	TestSpring.start("config/spring/application-dubbo-consumer.xml"); // Spring Context init……

	DemoService service = TestSpring.getBean("dubboDemoService", DemoService.class);
	String hello = service.sayHello("Chengtang_wen");

	System.out.println(hello);
    }

}
